//
//  UserInfo.h
//  MYChatting
//
//  Created by mac on 16/7/30.
//  Copyright © 2016年 lhf. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface UserInfo : NSObject<NSCoding>

@property (nonatomic,copy) NSString *access_token;
@property (nonatomic,copy) NSString * expires_in;
@property (nonatomic,copy) NSString *uid;
@property (nonatomic,copy) NSDate *expires_date;
@property (nonatomic,copy) NSString *name;
@property (nonatomic,copy) NSString *avatar_large;

//用户是否登陆标记
//@property (nonatomic,copy) NSString * userLogin;


+ (instancetype)userInfoWithDict:(NSDictionary *)dict;




- (void)saveUserInfo;//存储个人信息


- (instancetype)loadUserInfo;//加载个人信息

@end
